{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {
    "collapsed": false
   },
   "outputs": [],
   "source": [
    "import os\n",
    "import re\n",
    "import json\n",
    "import tensorflow as tf\n",
    "from tensorflow.python.platform import flags\n",
    "import numpy as np\n",
    "from model import Model\n",
    "import matplotlib.pyplot as plt\n",
    "import argparse\n",
    "from data_helpers import split_sentence, clean_str, get_vocab\n",
    "\n",
    "plt.rcParams['figure.figsize'] = (16, 12)\n",
    "plt.rcParams['font.sans-serif'] = ['SimHei']\n",
    "plt.rcParams['axes.unicode_minus'] = False\n",
    "\n",
    "%matplotlib inline\n",
    "%config InlineBackend.figure_format = 'retina'\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "collapsed": false
   },
   "outputs": [],
   "source": [
    "# reset tf.flag\n",
    "tf.app.flags.FLAGS = flags._FlagValues()\n",
    "tf.app.flags._global_parser = argparse.ArgumentParser()\n",
    "\n",
    "flags = tf.app.flags\n",
    "flags.DEFINE_integer('batch_size', 1, 'Batch size')\n",
    "flags.DEFINE_integer('epochs', 100, 'epochs')\n",
    "flags.DEFINE_integer('rnn_size', 300, 'RNN unit size')\n",
    "flags.DEFINE_integer('word_attention_size', 300, 'Word level attention unit size')\n",
    "flags.DEFINE_integer('sent_attention_size', 300, 'Sentence level attention unit size')\n",
    "flags.DEFINE_integer('char_embedding_size', 300, 'Embedding dimension')\n",
    "flags.DEFINE_string('checkpoint_dir', 'checkpoint', 'Directory name to save the checkpoints [checkpoint]')\n",
    "flags.DEFINE_integer('vocab_size', 6790, 'vocabulary size')\n",
    "flags.DEFINE_float('keep_prob', 0.5, 'Dropout keep prob')\n",
    "flags.DEFINE_integer('document_size', 30, 'document size')\n",
    "flags.DEFINE_integer('sentence_size', 50, 'sentence size')\n",
    "flags.DEFINE_float('grad_clip', 5.0, 'grad clip')\n",
    "FLAGS = flags.FLAGS\n",
    "\n",
    "checkpoint_path = os.path.join(FLAGS.checkpoint_dir, 'model.ckpt')\n",
    "\n",
    "# load pre-trained char embedding\n",
    "char_emb = np.load('./data/emb.npy')\n",
    "\n",
    "with tf.variable_scope('model'):\n",
    "    test_model = Model(FLAGS)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 119,
   "metadata": {
    "collapsed": false
   },
   "outputs": [],
   "source": [
    "pos_doc = \"\"\"作者的觀點獨特，語言犀利，深刻的總結了男人與女人之間的是非恩怨，把男人與女人在生活中積累的宿怨一語道破---原來非本質問題，而是雙方本能。此書不足之處乃後面章節雷同，越看越有寡味之感，但是還是要感謝作者帶我們遊覽一次男人、女人的本能世界！呵呵，建議讀者可以看一看，有則改之，無則加勉！！\"\"\"\n",
    "neg_doc = \"\"\"書太小了 拿到手裡很是失望本以為會多麼精緻~~~真的是適合小孩看啊可很小的孩子的又看不懂還不是大人給小孩子講所以應該精緻一點才好價錢還是不太值啊\"\"\""
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Documents\n",
    "=====\n",
    "\n",
    "### Positive:\n",
    "作者的觀點獨特，語言犀利，深刻的總結了男人與女人之間的是非恩怨，把男人與女人在生活中積累的宿怨一語道破---原來非本質問題，而是雙方本能。此書不足之處乃後面章節雷同，越看越有寡味之感，但是還是要感謝作者帶我們遊覽一次男人、女人的本能世界！呵呵，建議讀者可以看一看，有則改之，無則加勉！！\n",
    "\n",
    "### Negative:\n",
    "書太小了 拿到手裡很是失望本以為會多麼精緻~~~真的是適合小孩看啊可很小的孩子的又看不懂還不是大人給小孩子講所以應該精緻一點才好價錢還是不太值啊\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 120,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "作者的觀點獨特\n",
      "語言犀利\n",
      "深刻的總結了男人與女人之間的是非恩怨\n",
      "把男人與女人在生活中積累的宿怨一語道破\n",
      "原來非本質問題\n",
      "而是雙方本能\n",
      "此書不足之處乃後面章節雷同\n",
      "越看越有寡味之感\n",
      "但是還是要感謝作者帶我們遊覽一次男人\n",
      "女人的本能世界\n",
      "呵呵\n",
      "建議讀者可以看一看\n",
      "有則改之\n",
      "無則加勉 \n",
      "\n",
      "書太小了\n",
      "拿到手裡很是失望本以為會多麼精緻\n",
      "真的是適合小孩看啊可很小的孩子的又看不懂還不是大人給小孩子講所以應該精緻一點才好價錢還是不太值啊 \n",
      "\n"
     ]
    }
   ],
   "source": [
    "vocab, _ = get_vocab('./data/vocab.pkl')\n",
    "max_doc_len = FLAGS.document_size\n",
    "max_sent_len = FLAGS.sentence_size\n",
    "\n",
    "def vectorize(doc):\n",
    "    doc_sents = split_sentence(clean_str(doc))\n",
    "    document_length = len(doc_sents)\n",
    "    sentence_lengths = np.zeros((max_doc_len,), dtype=np.int64)\n",
    "    data = np.ones((max_doc_len * max_sent_len,), dtype=np.int64) # 1 = PAD\n",
    "    doc_len = min(document_length, max_doc_len)\n",
    "\n",
    "    for j in range(doc_len):\n",
    "        sent = doc_sents[j]\n",
    "        actual_len = len(sent)\n",
    "        pos = j * max_sent_len\n",
    "        sent_len = min(actual_len, max_sent_len)\n",
    "        # sentence_lengths\n",
    "        sentence_lengths[j] = sent_len\n",
    "        # dataset\n",
    "        data[pos:pos+sent_len] = [vocab.get(sent[k], 0) for k in range(sent_len)]\n",
    "    \n",
    "    return data, document_length, sentence_lengths, doc_sents\n",
    "\n",
    "pos_data = vectorize(pos_doc)\n",
    "neg_data = vectorize(neg_doc)\n",
    "\n",
    "print('\\n'.join(pos_data[-1]), '\\n')\n",
    "print('\\n'.join(neg_data[-1]), '\\n')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 121,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "INFO:tensorflow:Restoring parameters from checkpoint/model.ckpt\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "INFO:tensorflow:Restoring parameters from checkpoint/model.ckpt\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "pos_doc:  1 neg_doc: 0\n"
     ]
    }
   ],
   "source": [
    "saver = tf.train.Saver()\n",
    "with tf.Session() as sess:\n",
    "    saver.restore(sess, checkpoint_path)\n",
    "    \n",
    "    sess.run([], feed_dict={test_model.embedding: char_emb})\n",
    "    \n",
    "    def forward(data, document_length, sentence_lengths):\n",
    "        pred, attention = sess.run([test_model.pred, test_model.char_attentions], feed_dict={\n",
    "            test_model.inputs: data.reshape((1, FLAGS.document_size, FLAGS.sentence_size)),\n",
    "            test_model.sentence_lengths: [sentence_lengths],\n",
    "            test_model.document_lengths: [document_length],\n",
    "            test_model.is_training: False\n",
    "        })\n",
    "        return pred[0], attention\n",
    "    \n",
    "    pos_result, pos_attention = forward(pos_data[0], pos_data[1], pos_data[2])\n",
    "    neg_result, neg_attention = forward(neg_data[0], neg_data[1], neg_data[2])\n",
    "\n",
    "print('pos_doc: ', pos_result, 'neg_doc:', neg_result)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 122,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "application/javascript": [
       "\n",
       "           window.pos_attention=[[[0.015739217400550842], [0.016517963260412216], [0.02646193653345108], [0.014510318636894226], [0.03354310244321823], [0.04292082414031029], [0.035157326608896255], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426], [0.01895696111023426]], [[0.0200754813849926], [0.04622826352715492], [0.0353507325053215], [0.04024874046444893], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908], [0.01865427941083908]], [[0.0312258992344141], [0.010454152710735798], [0.01453914400190115], [0.01074204035103321], [0.010843772441148758], [0.015376781113445759], [0.013199101202189922], [0.0074391127564013], [0.0061227562837302685], [0.011153111234307289], [0.016417143866419792], [0.01138870045542717], [0.015696728602051735], [0.023543773218989372], [0.012492950074374676], [0.02030280977487564], [0.03811663016676903], [0.03512769937515259], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003], [0.02174430526793003]], [[0.010905313305556774], [0.036627814173698425], [0.012703223153948784], [0.005024139303714037], [0.015786241739988327], [0.02466018870472908], [0.02391139417886734], [0.04144403338432312], [0.03781731799244881], [0.038675807416439056], [0.028063438832759857], [0.013546678237617016], [0.01362547092139721], [0.014260546304285526], [0.017221493646502495], [0.00859071221202612], [0.01659669727087021], [0.04818723350763321], [0.02089623175561428], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261], [0.0184340663254261]], [[0.014565601013600826], [0.04347262904047966], [0.03393774852156639], [0.03302479162812233], [0.013109729625284672], [0.01565137878060341], [0.006948120892047882], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217], [0.019518371671438217]], [[0.009023631922900677], [0.007066773716360331], [0.015038601122796535], [0.02524625137448311], [0.01902127079665661], [0.016898194327950478], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754], [0.02062966488301754]], [[0.020015791058540344], [0.01262903306633234], [0.021519839763641357], [0.02915417030453682], [0.007743278983980417], [0.0075540426187217236], [0.016103625297546387], [0.03405074402689934], [0.0142541928216815], [0.023427821695804596], [0.0639534592628479], [0.1549873650074005], [0.05374211072921753], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432], [0.014617962762713432]], [[0.012464748695492744], [0.024017615243792534], [0.015259768813848495], [0.02441595494747162], [0.03501574695110321], [0.03557053580880165], [0.025538261979818344], [0.01577942818403244], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975], [0.019331855699419975]], [[0.04005454480648041], [0.018946269527077675], [0.014106400310993195], [0.01521324273198843], [0.021426286548376083], [0.01286331471055746], [0.015942012891173363], [0.037073876708745956], [0.026201002299785614], [0.02362414449453354], [0.02684468775987625], [0.04065943509340286], [0.014465799555182457], [0.015338975936174393], [0.011362220160663128], [0.004938698839396238], [0.007818265818059444], [0.0069685750640928745], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634], [0.020192259922623634]], [[0.016227608546614647], [0.025506246834993362], [0.010812053456902504], [0.009303192608058453], [0.00974765419960022], [0.03668497875332832], [0.014704683795571327], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953], [0.020395664498209953]], [[0.05110703408718109], [0.008848583325743675], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113], [0.019584260880947113]], [[0.017589788883924484], [0.036121468991041183], [0.021073337644338608], [0.0402899794280529], [0.020428476855158806], [0.009321657009422779], [0.0131349116563797], [0.013157394714653492], [0.014650467783212662], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944], [0.019859328866004944]], [[0.014073622412979603], [0.023160213604569435], [0.025702515617012978], [0.032801054418087006], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467], [0.019657881930470467]], [[0.008625851012766361], [0.012195100076496601], [0.020423131063580513], [0.01735428348183632], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222], [0.020465252920985222]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]]];\n",
       "           window.neg_attention=[[[0.021320132538676262], [0.019803090021014214], [0.007362167350947857], [0.03556017577648163], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374], [0.019912056624889374]], [[0.010753834620118141], [0.011556935496628284], [0.019164109602570534], [0.08377645909786224], [0.05491115525364876], [0.03573393076658249], [0.03631164878606796], [0.0395965613424778], [0.0405363067984581], [0.014468257315456867], [0.017827892675995827], [0.0159095861017704], [0.01627264730632305], [0.03051900677382946], [0.025570303201675415], [0.031108791008591652], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975], [0.015175954438745975]], [[0.02041417360305786], [0.028972148895263672], [0.016511525958776474], [0.016160670667886734], [0.014390633441507816], [0.015896182507276535], [0.012575287371873856], [0.028222765773534775], [0.03542638570070267], [0.0131822619587183], [0.008579907938838005], [0.007905285805463791], [0.008034045808017254], [0.005735623650252819], [0.008156300522387028], [0.004871524404734373], [0.011524590663611889], [0.011995930224657059], [0.024501007050275803], [0.09452126175165176], [0.03197263181209564], [0.053579531610012054], [0.083500437438488], [0.02532924711704254], [0.03632040321826935], [0.028527190908789635], [0.015425660647451878], [0.014293434098362923], [0.03263203427195549], [0.02204308845102787], [0.011421012692153454], [0.007416676264256239], [0.007705042138695717], [0.008996419608592987], [0.005934998858720064], [0.012047926895320415], [0.0055339825339615345], [0.0050652227364480495], [0.014626240357756615], [0.0162619911134243], [0.01648116484284401], [0.018484536558389664], [0.007615578360855579], [0.00770860631018877], [0.01146935485303402], [0.0264904722571373], [0.02992531843483448], [0.02364170365035534], [0.01598626933991909], [0.01598626933991909]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]], [[0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164], [0.019999999552965164]]];\n",
       "           window.pos_doc=['作者的觀點獨特', '語言犀利', '深刻的總結了男人與女人之間的是非恩怨', '把男人與女人在生活中積累的宿怨一語道破', '原來非本質問題', '而是雙方本能', '此書不足之處乃後面章節雷同', '越看越有寡味之感', '但是還是要感謝作者帶我們遊覽一次男人', '女人的本能世界', '呵呵', '建議讀者可以看一看', '有則改之', '無則加勉'];\n",
       "           window.neg_doc=['書太小了', '拿到手裡很是失望本以為會多麼精緻', '真的是適合小孩看啊可很小的孩子的又看不懂還不是大人給小孩子講所以應該精緻一點才好價錢還是不太值啊'];\n",
       "           "
      ],
      "text/plain": [
       "<IPython.core.display.Javascript object>"
      ]
     },
     "execution_count": 122,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from IPython.display import Javascript\n",
    "\n",
    "#runs arbitrary javascript, client-side\n",
    "Javascript(\"\"\"\n",
    "           window.pos_attention={};\n",
    "           window.neg_attention={};\n",
    "           window.pos_doc={};\n",
    "           window.neg_doc={};\n",
    "           \"\"\".format(json.dumps(pos_attention.tolist()),\n",
    "                      json.dumps(neg_attention.tolist()),\n",
    "                      pos_data[-1],\n",
    "                      neg_data[-1]))\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 123,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "application/javascript": [
       "\n",
       "function visualizer (doc, attention) {\n",
       "    const elements = attention\n",
       "        .filter((row, i) => i < doc.length)\n",
       "        .map((row, i) => {\n",
       "            const sent = doc[i];\n",
       "            const elems = row\n",
       "                .filter((col, j) => j < sent.length)\n",
       "                .map((col, j) => {\n",
       "                    const char = sent[j];\n",
       "                    const weight = col * 10;\n",
       "                    return '<span style=\"background-color: rgba(255, 50, 50, ' + weight + ');\">' + char + '</span>';\n",
       "                })\n",
       "                .join('');\n",
       "            return '<p>' + elems + '</p>';\n",
       "        });\n",
       "\n",
       "    return elements.join('\\n');\n",
       "}\n",
       "\n",
       "const visualized_pos_doc = visualizer(pos_doc, pos_attention)\n",
       "element.append('<div style=\"float:left; width:50%\"><h1>Positive Document with attetion</h1>' + visualized_pos_doc + '</div>')\n",
       "\n",
       "const visualized_neg_doc = visualizer(neg_doc, neg_attention)\n",
       "element.append('<div><h1>Negative Document with attetion</h1>' + visualized_neg_doc + '</div>')"
      ],
      "text/plain": [
       "<IPython.core.display.Javascript object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "%%javascript\n",
    "\n",
    "function visualizer (doc, attention) {\n",
    "    const elements = attention\n",
    "        .filter((row, i) => i < doc.length)\n",
    "        .map((row, i) => {\n",
    "            const sent = doc[i];\n",
    "            const elems = row\n",
    "                .filter((col, j) => j < sent.length)\n",
    "                .map((col, j) => {\n",
    "                    const char = sent[j];\n",
    "                    const weight = col * 10;\n",
    "                    return '<span style=\"background-color: rgba(255, 50, 50, ' + weight + ');\">' + char + '</span>';\n",
    "                })\n",
    "                .join('');\n",
    "            return '<p>' + elems + '</p>';\n",
    "        });\n",
    "\n",
    "    return elements.join('\\n');\n",
    "}\n",
    "\n",
    "const visualized_pos_doc = visualizer(pos_doc, pos_attention)\n",
    "element.append('<div style=\"float:left; width:50%\"><h1>Positive Document with attention</h1>' + visualized_pos_doc + '</div>')\n",
    "\n",
    "const visualized_neg_doc = visualizer(neg_doc, neg_attention)\n",
    "element.append('<div><h1>Negative Document with attention</h1>' + visualized_neg_doc + '</div>')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python (ENV)",
   "language": "python",
   "name": "env"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.5.2"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
